package com.leha.mp.core.services;

import me.chanjar.weixin.common.exception.WxErrorException;
import me.chanjar.weixin.mp.api.WxMpService;
import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage;
import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage;
import me.chanjar.weixin.mp.bean.result.WxMpQrCodeTicket;

public interface WxMPServices {
    public WxMpXmlOutMessage handleMsg(WxMpXmlMessage msg);
    public WxMpService getWXServies();

    WxMpQrCodeTicket generateQRCode(Integer doctorId) throws WxErrorException;
    Boolean sendMpMsg(String unionId, String data);

    boolean sendMpMsgText(String unionid, String msgContent);
}
